package com.avic.rong.shoppingCar.api;

import com.avic.rong.api.HttpPostService;
import com.example.minato.minastore.BaseApi;
import com.example.minato.minastore.listener.HttpOnNextListener;
import com.trello.rxlifecycle2.components.support.RxAppCompatActivity;

import io.reactivex.Observable;
import retrofit2.Retrofit;

/**
 * Created by Chenjiaxin on 2019/7/23 09:59
 * E-Mail Address：16601203965@163.com
 */
public class ShoppingCarListnoLoginApi extends BaseApi {
    private String deviceId;

    public ShoppingCarListnoLoginApi(RxAppCompatActivity rxAppCompatActivity, HttpOnNextListener listener, String deviceId) {
        super(rxAppCompatActivity, listener);

        this.deviceId = deviceId;
    }

    @Override
    public Observable getObservable(Retrofit retrofit) {
        HttpPostService service = retrofit.create(HttpPostService.class);
        return service.shoppingCarList("",deviceId );
    }

}
